﻿using HuiLian.Common.Input;
using HuiLian.Common.Output;
using HuiLian.Model.Platform;
using HuiLian.Service.Platform.PipeTeZhengData.Input;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HuiLian.Service.Platform.PipeTeZhengData
{
    public interface IPipeTeZhengDataService
    {
        /// <summary>
        /// 查询管段健康信息
        /// </summary>
        /// <param name="input">分页信息</param>
        /// <returns></returns>
        Task<IResponseOutput> PageAsync(PageInput<PipeEntity> input);

        /// <summary>
        /// 操作历史数据
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<IResponseOutput> OperationData(OperationDataInput input);

        /// <summary>
        /// 统计各个健康级别的管线数量和管线长度
        /// </summary>
        /// <returns></returns>
        Task<IResponseOutput> StatisticsPipe(StatisticsPipeInput input);
    }
}
